package com.techsoul.module.order.pojo.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;

import java.util.Date;

/**
 * 用户地址 Vo
 * 
 * @author liuen
 * @date 2021-04-06
 */
@Data
@Accessors(chain = true)
public class UserAddressVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID（系统自动产生）")
    private String id;

    @ApiModelProperty("用户ID")
    private String userId;

    @ApiModelProperty("收货人")
    private String name;

    @ApiModelProperty("手机号码")
    private String phone;

    @ApiModelProperty("省")
    private String province;

    @ApiModelProperty("省-名称")
    private String provinceName;

    @ApiModelProperty("市")
    private String city;

    @ApiModelProperty("市-名称")
    private String cityName;

    @ApiModelProperty("区")
    private String district;

    @ApiModelProperty("区-名称")
    private String districtName;

    @ApiModelProperty("详细地址")
    private String address;

    @ApiModelProperty("是否为默认收货地址")
    private Boolean isDefault;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("是否有效（数据字典sys_yn_type，默认1-是）")
    private String isValid;

    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新人")
    private String updateBy;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("创建人名称")
    private String createByName;

    @ApiModelProperty("更新人名称")
    private String updateByName;

}
